# -*- coding: utf-8 -*-
import KBEngine
from KBEDebug import *
from interfaces.ProxyEntityEvent import ProxyEntityEvent

class Account(KBEngine.Proxy,
	ProxyEntityEvent):

	def __init__(self):
		KBEngine.Proxy.__init__(self)
		ProxyEntityEvent.__init__(self)

	def onClient2BaseMsg(self, senderEntityID, blobArgs):
		listArgs = IKernel.Instance().parseBlobArg(blobArgs)
		IKernel.Instance().onIntMsg(self.id, self.id, listArgs)